<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CPC每小时监控日报</title>
</head>

<style type="text/css">
* {
	font-size: 11px;
}
#table1 {
	border: 1px solid rgb(153, 187, 232);
}
#table1 #table_head {
	background: #B0C9E7; height: 25px; text-align: left; line-height: 25px; text-indent: 20px; font-weight: bolder;
}
#table1 #table_con {
	background: rgb(223, 232, 246);
}
#table1 #table_in {
	background: rgb(208, 208, 208); border: 0px currentColor; margin-top: 5px; margin-bottom: 5px;
}
#table1 #table_in th {
	background: #F0F1F3; height: 22px; border-bottom-color: rgb(208, 208, 208); border-bottom-width: 1px; border-bottom-style: solid; align: center;
}
#table1 #table_in .td1 {
	background: #F0F1F3; height: 22px; text-align: center;border-bottom-color: rgb(208, 208, 208); border-bottom-width: 1px; border-bottom-style: solid; align: center;
}
#table1 #table_in td {
	height: 22px; text-align: center; line-height: 22px; border-bottom-color: rgb(237, 237, 237); border-bottom-width: 1px; border-bottom-style: solid;
}
.tdbg10 {
	background: rgb(238, 239, 241);
}
.tdbg11 {
	background: rgb(255, 255, 255);
}
</style>
<body>
	
#if($totalList)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">截止到当前($endTime)总体数据  $nowDate</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
              <tr>
                <th>截止到当前总体数据</th>
                <th>今日($nowDate)</th>
                <th>昨日($lastDate)</th>
                <th>日比</th>
              </tr>
              
            	#foreach($rs in $totalList)
            		#set($values = $rs.split(';'))	
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            			<td class="td1">$values[0]</td>
            			<td>$values[1]</td>
            			<td>$values[2]</td>
            			<td>$values[3]%</font></td>
              		</tr>
            	#end
        	     </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end


#if($cateTotalData)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">截止到当前($endTime)分类别数据  $nowDate</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
				<tr>
					<th>类别</th>
					#foreach($t in $titles)
					<th>$t</th>
					<th>日比</th>
					#end
				</tr>
              
            	#foreach($rs in $cateTotalData)
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            		#foreach($value in $rs.split(';'))
					    #if($velocityCount == 1)
    						<td class="td1">
								$value
							</td>
    					#elseif($velocityCount % 3 != 1)
    						<td align="center">$value</td>
    					#end
					#end	
              		</tr>
            	#end
        	    </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end
	
#if($hourData)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">总体分时段数据  $nowDate</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
				<tr>
					<th>时间段</th>
					#foreach($t in $titles)
					<th>$t</th>
					<th>日比</th>
					#end
				</tr>
              
            	#foreach($rs in $hourData)
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            		#foreach($value in $rs.split(';'))
					    #if($velocityCount == 1)
    						<td class="td1">
								$value
							</td>
    					#elseif($velocityCount % 3 != 1)
    						<td align="center">$value</td>
    					#end
					#end	
              		</tr>
            	#end
        	    </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
#end

#foreach($cate in $cateList)
	#set($cateHourData = $cateDataMap.get($cate))	
	#if($cateHourData)
    	<table width="96%" align="center" cellpadding="0" cellspacing="0" id="table1">
    		<tr>
    			<td id="table_head">$cate分时段数据  $nowDate</td>
    		</tr>
    	   <tr>
            <td id="table_con" valign="top">
                <table width="99%" align="center" cellpadding="0" cellspacing="1" id="table_in">
				<tr>
					<th>时间段</th>
					#foreach($t in $titles)
					<th>$t</th>
					<th>日比</th>
					#end
				</tr>
              
            	#foreach($rs in $cateHourData)
            		<tr onMouseOver="this.className='tdbg10'" onMouseOut="this.className='tdbg11'" class="tdbg11">
            		#foreach($value in $rs.split(';'))
					    #if($velocityCount == 1)
    						<td class="td1">
								$value
							</td>
    					#elseif($velocityCount % 3 != 1)
    						<td align="center">$value</td>
    					#end
					#end	
              		</tr>
            	#end
        	    </table>
     	       </td>
     	   </tr>
    	</table>
		</br>
		</br>
		</br>
	#end

#end


</body>
</html>
